﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Common;
using FarseerPhysics.Collision.Shapes;
using FarseerPhysics.Factories;
using FarseerPhysics.Dynamics.Contacts;

namespace chemicall
{
    class Cation : Agent
    {
        public const string CHAR_ASSETNAME = "cation";
        public const int CATION_ID = 3;
        public const int CATION_SPEED = 100;

        public Cation(/*Point screenCenter,*/ double distance, SoundManager sM) : base(/*screenCenter,*/ distance, sM)
        {
        }

        public void LoadContent(ContentManager contentManager, World world, Vector2 position, Nullable<Rectangle> entitySize, Nullable<Rectangle> spriteSize)
        {
            base.LoadContent(contentManager, CHAR_ASSETNAME, world, position, entitySize, spriteSize, this);
            speed.X = CATION_SPEED;
            currAnim = 3;
          
        }

        public void Update(GameTime gameTime)
        {
            base.Update(gameTime);
        }

        public void setStable()
        {
            stable = true;
            currentState = State.Neutral;
        }
    }
}
